package cn.hloger.spider.demo.dataxDemo.bean;

import cn.hloger.spider.demo.dataxDemo.annotation.ApiModel;
import cn.hloger.spider.demo.dataxDemo.annotation.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * Kafka的配置VO
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "Kafka的配置VO", description = "Kafka的配置VO")
public class KafkaConfig {

    /**
     * kafka服务地址
     */
    @ApiModelProperty(name = "kafkaServers", value = "kafka服务地址")
    private String kafkaServers;

    /**
     * JAAS配置
     */
    @ApiModelProperty(name = "jaasConfig", value = "JAAS配置")
    private String jaasConfig;

    /**
     * 安全协议
     */
    @ApiModelProperty(name = "securityProtocol", value = "安全协议")
    private String securityProtocol;

    /**
     * sasl认证
     */
    @ApiModelProperty(name = "saslMechanism", value = "sasl认证")
    private String saslMechanism;
}